{if $allow_review > 0}
<span onclick = "showHideReview()" class = "review">{$smarty.const._UNOCART_ADD_REVIEW_PRODUCT}</span>
<form name = "add_review" method = "post">
<table id = "unocart_review_write" style = "display:none">
	<tr>
		<td>
			{$smarty.const._UNOCART_REVIEW_USER_NAME}
		</td>
		<td>
			<input type = "text" name = "user_name" class = "inputbox" value = "{$user->username}"/>
		</td>
	</tr>
	<tr>
		<td>
			{$smarty.const._UNOCART_REVIEW_USER_EMAIL}
		</td>
		<td>
			<input type = "text" name = "user_email" class = "inputbox" value = "{$user->email}" />
		</td>
	</tr>
	<tr>
		<td>
			{$smarty.const._UNOCART_REVIEW_REVIEW}
		</td>
		<td>
			<textarea name = "review" class = "unocart"></textarea>
		</td>
	</tr>
	<tr>
		<td>
			{$smarty.const._UNOCART_REVIEW_MARK_PRODUCT}
		</td>
		<td>
			{$select_review}
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<input type = "submit" class = "button" value = "{$smarty.const._UNOCART_REVIEW_SUBMIT}" />
			<input type = "hidden" name = "task" value = "save_review" />
			<input type = "hidden" name = "product_id" value = "{$product->product_id}" />
			<input type = "hidden" name = "back_link" value = "{$smarty.server.REQUEST_URI}" />
		</td>
	</tr>
</table>
</form>
{else}
{$review_text}
{/if}